var QQ_html='';
var skin='{@skin}';
/* CSS Document */
QQ_html+='<style>';
QQ_html+='.float0831 ul,li,dl,ol{list-style:none;}';
QQ_html+='.float0831 {POSITION: absolute; TOP: 180px; RIGHT: 1px; _position: absolute;z-index:9999;}';
QQ_html+='.float0831 A {COLOR: #00a0e9}';
QQ_html+='.float0831 A:hover {COLOR: #ff8100; TEXT-DECORATION: none}';
QQ_html+='.float0831 .floatL {POSITION: relative; WIDTH: 28px; FLOAT: left}';
QQ_html+='.float0831 .floatL A {TEXT-INDENT: -9999px; DISPLAY: block; FONT-SIZE: 0px}';
QQ_html+='.float0831 .floatR {BACKGROUND: url('+skin+'float_bg.gif)}';
QQ_html+='.float0831 .tp {BACKGROUND: url('+skin+'float_bg.gif)}';
QQ_html+='.float0831 .cn {display:block;BACKGROUND: url('+skin+'float_bg.gif)  -262px 0px repeat-y;}';
QQ_html+='.float0831 .floatR {PADDING-BOTTOM: 15px; WIDTH: 130px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: -131px bottom; FLOAT: left; OVERFLOW: hidden}';
QQ_html+='.float0831 .tp {BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: 0% 0%; HEIGHT: 10px;margin:0px;}';
QQ_html+='.float0831 .cn H3 {TEXT-INDENT: -9999px; HEIGHT: 36px; FONT-SIZE: 0px}';
QQ_html+='.float0831 .cn UL {PADDING-BOTTOM: 0px; PADDING-LEFT: 14px; PADDING-RIGHT: 14px; PADDING-TOP: 0px;margin:0;}';
QQ_html+='.float0831 .cn UL LI {BORDER-BOTTOM: #e6e5e4 1px solid; LINE-HEIGHT: 36px; WORD-WRAP: break-word; HEIGHT: 36px; OVERFLOW: hidden; WORD-BREAK: normal;margin:0;list-style: none;}';
QQ_html+='.float0831 .titZx {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .titDh {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .titDc {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .icoZx {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .icoTc {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .icoFf {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .icoTl {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .btnOpen {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .btnOpen_n {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .btnCtn {BACKGROUND: url('+skin+'float_s.gif) no-repeat}';
QQ_html+='.float0831 .titZx {BACKGROUND-POSITION: 5px -10px}';
QQ_html+='.float0831 .titDh {BACKGROUND-POSITION: 5px -66px}';
QQ_html+='.float0831 .titDc {BACKGROUND-POSITION: 5px -124px}';
QQ_html+='.float0831 .icoZx {BACKGROUND-POSITION: 2px -154px}';
QQ_html+='.float0831 .icoTc {BACKGROUND-POSITION: 0px -323px}';
QQ_html+='.float0831 .icoFf {BACKGROUND-POSITION: 2px -213px}';
QQ_html+='.float0831 .icoTl {PADDING-LEFT: 20px; DISPLAY: block; FONT-FAMILY: "微软雅黑"; BACKGROUND-POSITION: 2px -266px; FLOAT: left}';
QQ_html+='.float0831 .btnOpen {BACKGROUND-POSITION: -30px -396px}';
QQ_html+='.float0831 .btnOpen_n {BACKGROUND-POSITION: 0px -530px}';
QQ_html+='.float0831 .btnCtn {BACKGROUND-POSITION: 0px -396px}';
QQ_html+='.float0831 .icoZx {PADDING-LEFT: 28px; DISPLAY: block; FLOAT: left}';
QQ_html+='.float0831 .icoTc {PADDING-LEFT: 28px; DISPLAY: block; FLOAT: left}';
QQ_html+='.float0831 .icoFf {PADDING-LEFT: 28px; DISPLAY: block; FLOAT: left}';
QQ_html+='.float0831 .btnOpen {POSITION: relative; WIDTH: 28px; HEIGHT: 118px; TOP: 80px; LEFT: 2px}';
QQ_html+='.float0831 .btnOpen_n {POSITION: relative; WIDTH: 28px; HEIGHT: 118px; TOP: 80px; LEFT: 2px}';
QQ_html+='.float0831 .btnCtn {POSITION: relative; WIDTH: 28px; HEIGHT: 118px; TOP: 80px; LEFT: 2px}';
QQ_html+='.float0831 .btnOpen { LEFT: 1px}';
QQ_html+='.float0831 .btnOpen_n {TOP: 118px; LEFT: 1px}';
QQ_html+='.float0831 .btnCtn { LEFT: 2px}';
QQ_html+='.float0831 UL LI H3.titDc A {WIDTH: 80px; DISPLAY: block; HEIGHT: 36px}';
QQ_html+='.float0831 UL LI.top {BORDER-BOTTOM: #ace5f9 1px solid}';
QQ_html+='.float0831 UL LI.bot {BORDER-BOTTOM-STYLE: none}';
QQ_html+='.float0831 UL.webZx {PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; WIDTH: 164px; PADDING-RIGHT: 0px; BACKGROUND: url(webZx_bg.jpg) no-repeat; HEIGHT: 65px; PADDING-TOP: 0px }';
QQ_html+='.float0831 UL LI.webZx-in {BORDER-BOTTOM-STYLE: none; PADDING-LEFT: 5px; HEIGHT: 50px; PADDING-TOP: 8px}';
QQ_html+='.no{DISPLAY: none}';
QQ_html+='.li_qrcode{height:100px !important;display:block;}';
QQ_html+='</style>'; 


QQ_html+='<DIV id="floatTools" class=float0831 style="top:180px;right:1px">';
QQ_html+='<DIV class=floatL>';

QQ_html+='<A  href="javascript:void(0);" id="aFloatTools_Show" class="btnOpen" style="display:none" title="查看在线客服 ">展开</A> '
QQ_html+='<A  href="javascript:void(0);" id="aFloatTools_Hide" class="btnCtn" title="关闭在线客服">收缩</A>';

QQ_html+='</DIV>';
QQ_html+='<DIV id=divFloatToolsView class=floatR>';
QQ_html+='  <DIV class=tp></DIV>';
QQ_html+=' <DIV class=cn>';
QQ_html+='   <UL>';

QQ_html+='  <LI><SPAN class=icoZx>在线咨询</SPAN> </LI>';

{loop}
QQ_html+='<LI><a title="点击这里给我发消息" href="tencent://message/?uin={$QQ}&menu=yes" target="_blank">';
QQ_html+='<img src="http://wpa.qq.com/pa?p=1:{$QQ}:52" border="0" align="absmiddle" /> {$title}</a></LI>';
{/loop}

QQ_html+='</UL>';

QQ_html+='  <UL>';

QQ_html+='  <LI>';
QQ_html+='   <H3 class=titDh>电话咨询</H3>';
QQ_html+='  </LI>';
QQ_html+='<li> 40000-80862</li>';
QQ_html+='<li>0797-8296060</li>';
QQ_html+='<li class="li_qrcode"><img src="'+skin+'img/weixin.jpg" width="100"></li>';
QQ_html+='  </UL>';
QQ_html+='  </DIV>';
QQ_html+=' </DIV>';
QQ_html+='</DIV>'; 


/* 样式2end */
document.write(QQ_html);

lastScrollY = 0;
function plug_qq(){
	var diffY=getScrollTop();
	var ee=document.getElementById("floatTools");
	percent=.1*(diffY-lastScrollY);
	if(percent>0)percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	ee.style.top = parseInt(ee.style.top)+percent+"px";
	lastScrollY=lastScrollY+percent;
}
function getScrollTop(){return document.documentElement.scrollTop || document.body.scrollTop;}
window.setInterval("plug_qq()",20);


$(function(){
	$('#aFloatTools_Hide').bind('click', function(){
		$("#divFloatToolsView").animate({
			width: '0px'
		});
		$('#aFloatTools_Hide,#aFloatTools_Show').toggle();
	});
	$('#aFloatTools_Show').bind('click', function(){
		$("#divFloatToolsView").animate({
			width: '130px'
		});
		$('#aFloatTools_Hide,#aFloatTools_Show').toggle();
	});
});